import request from "@/utils/request";

// 查询麻精药品印鉴卡管理列表
export function listPsychotropicDrug(query) {
  return request({
    url: "/zp/psychotropicDrug/list",
    method: "get",
    params: query,
  });
}

// 新增麻精药品印鉴卡管理
export function addPsychotropicDrug(data) {
  return request({
    url: "/zp/psychotropicDrug",
    method: "post",
    data: data,
  });
}

// 修改麻精药品印鉴卡管理
export function updatePsychotropicDrug(data) {
  return request({
    url: "/zp/psychotropicDrug",
    method: "put",
    data: data,
  });
}

// 删除麻精药品印鉴卡管理
export function delPsychotropicDrug(id) {
  return request({
    url: "/zp/psychotropicDrug/" + id,
    method: "delete",
  });
}
